package com.maiji.cloud.entities.shopingmall;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.Date;

@NoArgsConstructor
@Data
@Accessors(chain=true)
@Table(name = "share_order_help_log")
public class ShareOrderHelpLog {
	
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
	private String uuId;

	@Column(name = "share_order_log_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String shareOrderLogId; // 订单返现分享助力活动ID

    @Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String userId; //助力用户id
	
	@Column(name = "help_money", type = MySqlTypeConstant.DOUBLE, length = 8, decimalLength = 2)
	private Double helpMoney; //助力金额
	
	@Column(name = "nick_name", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String nickName; //昵称
	
	@Column(name = "head_url", type = MySqlTypeConstant.VARCHAR)
	private String headUrl; //头像
	
	@Column(name = "help_time", type = MySqlTypeConstant.DATETIME)
    private Date helpTime;  //助力时间

	@Column(name = "new_user", type = MySqlTypeConstant.BIT)
    private Boolean newUser;  //是否是新用户

}
